/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.jhelper.unit06.demo;

/**
 *
 * @author Administrator
 */
public class BookDemo {

    String name;
    String author;
    String publisher;
    float price;

    public BookDemo() {
    }

    public String getAuthor() {
        return author;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public float getPrice() {
        return price;
    }

    public String getName() {
        return name;
    }

    public BookDemo(String name, String author, String publisher, float price) {
        this.name = name;
        this.author = author;
        this.publisher = publisher;
        this.price = price;
    }

  
}
